FROM openjdk:8

MAINTAINER congzhi

LABEL name="dockerfile-image" vesion="1.0"  author="congzhi"
# 将宿主机当前目录jar copy到容器中
COPY docker-image.jar dockerfile-image.jar

CMD ["java","-jar","dockerfile-image.jar"]
# 指定端口
EXPOSE 8080 8080
